home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
EDUCMATH
/
MERCURY.LZH
/
MERCURYZ.EXE
/
CARDIOID.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
257b
|
11 lines
; Graph of cardioid, a heart-shaped curve.
; Example of parametric plot
r(t) := 2 (COS(t) + 1) ; equation in polar coords
x(t) := r(t) COS(t) ; polar to rectangular conversion
y(t) := r(t) SIN(t)
PLOT y
XAXIS x
GBOUNDS 0, 2 PI